package com.wanmait.demo.service.impl;

import com.github.pagehelper.PageInfo;
import com.wanmait.demo.mapper.PictureMapper;
import com.wanmait.demo.pojo.Picture;
import com.wanmait.demo.service.PictureService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;
@Service
@Transactional(rollbackFor = Exception.class)
public class PictureServiceimpl implements PictureService {
    @Resource
    private PictureMapper pictureMapper;
    @Override
    public void insert(Picture object) {

    }

    @Override
    public void delete(Integer id) {

    }

    @Override
    public void delete(String ids) {

    }

    @Override
    public void update(Picture object) {

    }

    @Override
    public Picture findById(Integer id) {
        return null;
    }

    @Override
    public List<Picture> findAll() {
        return null;
    }

    @Override
    public PageInfo<Picture> findPage(int pageNum, int pageSize) {
        return null;
    }
}
